package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.CooprOrgInfo;
import com.fdb.efp.nls.service.vo.CooprOrgInfoVO;

import java.util.List;

/**
 * <p>DAO interface:合作机构信息表				<p>
 * @author ligm
 * @date 2019-08-10
 */
public interface CooprOrgInfoDao {
	
	public int insertCooprOrgInfo(CooprOrgInfo cooprOrgInfo);
	
	public int deleteByPk(CooprOrgInfo cooprOrgInfo);
	
	public int updateByPk(CooprOrgInfo cooprOrgInfo);
	
	public CooprOrgInfo queryByPk(CooprOrgInfo cooprOrgInfo);
	
	public List<CooprOrgInfo> queryAllOwnerByPage(CooprOrgInfoVO cooprOrgInfo);
	
	public List<CooprOrgInfo> queryAllCurrOrgByPage(CooprOrgInfoVO cooprOrgInfo);
	
	public List<CooprOrgInfo> queryAllCurrDownOrgByPage(CooprOrgInfoVO cooprOrgInfo);

	public List<CooprOrgInfo> queryAllCooprOrgByPage(CooprOrgInfoVO cooprOrgInfoVo);

	/**
	 * 根据合作机构类型、合作状态为正常，获取分案的合作机构信息
	 * @author qiuyf
	 * @return
	 * @date 2019/9/4 10:15
	 * @version 0.1
	 */
	public List<CooprOrgInfo> getAllCooprOrgs(CooprOrgInfo cooprOrgInfo);

	public int inValidCooprOrgOverCooprDt();

	public List<CooprOrgInfo> getAllCooprOrgOverCooprDt();

	public int getInValidCooprOrgOverCooprDt();

}
